html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
  padding:0;
  margin:0;
}

.slider {
  cursor: -webkit-grab;
  cursor: grab;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  width: 85vw;
  height: 100vh;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  margin-left: auto;
  margin-right: auto;
}
.slider__slides {
  display: -webkit-box;
  display: flex;
}

.slide {
  --h: 35vw;
  --w: calc(var(--h) * var(--m));
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
  margin-right: 6rem;
  overflow: hidden;
}
.slide__inner {
  position: relative;
  height: var(--h);
  width: var(--w);
  overflow: hidden;
}
.slide__img {
  position: absolute;
  top: 0;
  left: -50px;
  right: -50px;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
}
.slide__img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
}